import Vue from "vue";
import VueRouter from "vue-router";
import homeRoute from "@/router/homeRoute";
import answerRoute from "@/router/answerRoute";
import mineRoute from "@/router/mineRoute";
import focusRoute from "@/router/focusRoute";
Vue.use(VueRouter);

const router = new VueRouter({
  routes: [...homeRoute, ...answerRoute, ...mineRoute, ...focusRoute],
  linkActiveClass: "active",
});

export default router;
